package com.jmxcfc.blfsc.common.exception;

import com.jmxcfc.blfsc.common.common.enums.BaseErrorEnum;
import lombok.extern.slf4j.Slf4j;


/**
 * 前置处理异常
 * @author pbs

 */
@Slf4j
public class BeforeOutboundException extends ChannelException {

    public static final String ERROR_CODE = BaseErrorEnum.EXCEPTION_BEFORE_PROCESS.getValue();
    public static final String ERROR_MSG = BaseErrorEnum.EXCEPTION_BEFORE_PROCESS.getMsg();

    public BeforeOutboundException(String msg) {
        super(msg);
    }

    public BeforeOutboundException(String message, Throwable cause) {
        super(message, cause);
    }

}
